package com.yu.subject.infra.basic.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.yu.subject.infra.basic.entity.SubjectInfo;

import java.util.List;

/**
 * @author 路亚
 * @version 0.1
 * @className SubjectInfoService
 * @description
 * @date 2024/12/24 21:12
 * @since jdk11
 */
public interface SubjectInfoService extends IService<SubjectInfo> {


    void add(SubjectInfo subjectInfo);

    Integer countByCondition(SubjectInfo subjectInfo, Long categoryId, Long labelId);

    List<SubjectInfo> queryPage(SubjectInfo subjectInfo, Long categoryId, Long labelId, Integer start, Integer pageSize);
}
